
import 'package:uuid/uuid.dart';

abstract class LocalSeqCreator {

	String create();
}

class DefaultSeqCreator implements LocalSeqCreator {

	int _value = 100;
  String _uuidString = "";

  DefaultSeqCreator() {
    var uuid = const Uuid();
    _uuidString = uuid.v1().replaceAll("-", "");
  }

  @override
  String create() {
  	++_value;
     return  _uuidString +  _value.toString();
  }
}